ostree admin instutil: make --help work for subcommands
authorOwen W. Taylor <otaylor@fishsoup.net>
Wed, 24 Sep 2014 13:23:56 +0000 (09:23 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Thu, 25 Sep 2014 07:08:06 +0000 (03:08 -0400)
commitc9018c785ca7296bf78ebabce5e10ef3094eee66
treee2b6fa5dcf8802d010dea0b870a2453c14e51de6
parent9d72ff2d8e72deef9cf9322e76a0d192c653f2d4
ostree admin instutil: make --help work for subcommands

Even though the subcommands don't take arguments, use a GOptionContext
so that --help works as expected.

https://bugzilla.gnome.org/show_bug.cgi?id=737194
src/ostree/ot-admin-instutil-builtin-selinux-ensure-labeled.c
src/ostree/ot-admin-instutil-builtin-set-kargs.c